package com.meixiang.activity.homes.staging;

import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;

import com.meixiang.R;
import com.meixiang.adapter.home.CheckStagingAdapter;
import com.meixiang.main.BaseActivity;
import com.meixiang.view.DividerItemDecoration;
import com.meixiang.view.TitleView;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * @author yinsujun  Created at 2016/5/5 19:47
 *         查看每期详情
 */
public class CheckStagingDetailActivity extends BaseActivity {
    @Bind(R.id.title)
    TitleView title;
    @Bind(R.id.check_staging_detail_recycler)
    RecyclerView mRecycler;
    private CheckStagingAdapter mAdapter;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        setContentView(R.layout.activity_check_staging_detail);
        ButterKnife.bind(this);
        super.onCreate(savedInstanceState);
    }

    @Override
    protected void initTitle() {
        setTitle("分期明细");
        mAdapter=new CheckStagingAdapter(context);
        LinearLayoutManager linearLayoutManager=new LinearLayoutManager(context);
        linearLayoutManager.setOrientation(LinearLayoutManager.VERTICAL);
        mRecycler.setLayoutManager(linearLayoutManager);
        mRecycler.addItemDecoration(new DividerItemDecoration(this, DividerItemDecoration.VERTICAL_LIST));
        mRecycler.setAdapter(mAdapter);
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void setData() {

    }

    @Override
    public void onClick(View v) {

    }
}
